package source.model;

import source.model.type.TerrainType;

public abstract class TerrainFactory {

	public static Terrain createTerrain( TerrainType t){
		switch(t)
		{
			case PLANET:
				return new Planet();
				
			default:
				return new Terrain(t);
		}
	}
}
